package com.vc;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

import com.vc.commons.autoconfigure.DefaultBootApplication;

/*public class UserApplication {

	public static void main(String[] args) {
		new SpringApplicationBuilder(UserApplication.class).web(true).run(args);
	}

}*/

@DefaultBootApplication
public class UserApplication extends SpringBootServletInitializer {

	public static void main(String[] args) {
		new SpringApplicationBuilder(UserApplication.class).web(true).run(args);
	}

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		return builder.sources(UserApplication.class);
		//return super.configure(builder);
	}

}